import request from '@/plugins/request';

// 目标网站信息列表
export function copyindexindex(data) {
    return request({
      url: "/v1/copy/index/index",
      method: "get",
      params: data,
    });
}

// 一键复制文章
export function copyindexcopy(data) {
    return request({
      url: "/v1/copy/index/copy",
      method: "get",
      params: data,
    });
}

// 一键复制文章日志
export function copyindexcopylogs(data) {
    return request({
      url: "/v1/copy/index/copy-logs",
      method: "get",
      params: data,
    });
}

// 添加要复制的目标站点和栏目
export function copyindexcopyarcadd(data) {
    return request({
      url: "/v1/copy/index/copy-arc-add",
      method: "post",
      data,
    });
}

// 编辑预设的目标站点和栏目
export function copyindexcopyarcedit(data) {
    return request({
      url: "/v1/copy/index/copy-arc-edit",
      method: "post",
      data,
    });
}

// 删除目标站点数据
export function copyindexcopyarcdel(data) {
    return request({
      url: "/v1/copy/index/copy-arc-del",
      method: "post",
      data,
    });
}